package com.gitee.wsl.struct.grammar.node.expr.math

import com.gitee.wsl.struct.grammar.node.ASTNode

class OrExpr(left: ASTNode, right: ASTNode) : BinaryExpr(left, right) {

    override val left: ASTNode
        get() = this.children[0]

    override val right: ASTNode
        get() = this.children[1]

    override fun toString(): String = "($left|$right)"

}